﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace UI
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new MemberManage());
          
            //系统登录
            LogIn dg_li = new LogIn();
            dg_li.ShowDialog();

            if (dg_li.LogInUser != null)
            {
                Logo logo = new Logo();
                logo.Show();

                
                Form_Main fm = new Form_Main(dg_li.LogInUser);
                System.Threading.Thread.Sleep(1000);
                logo.Close();

                Application.Run(fm);
            }
           
          
        }
    }
}